package me.zhengjie.service;

import me.zhengjie.domain.WxpayConfig;
import me.zhengjie.service.dto.WxpayDTO;
import me.zhengjie.service.dto.WxpayQueryCriteria;
import org.springframework.data.domain.Pageable;

import java.util.List;
import java.util.Map;

public interface WxpayService {
    /**
     * 查询配置
     * @return WxpayConfig
     */
    WxpayConfig find();

    Map<String, Object> queryAll(WxpayQueryCriteria criteria, Pageable pageable);

    WxpayDTO create(WxpayConfig resources);

}
